package com.hyacinth.templateservice.controller;

import com.hyacinth.templateservice.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/info")
    public User test() {
        User user = new User();
        user.setId(1);
        user.setUsername("aaa");
        return user;
    }
}
